package demo1;

public class Single2 {
    private static Single2 instance = new Single2();

    private Single2() {
    }

    public static Single2 getInstance() {
        return instance;
    }
}
